package com.sjzxywlkj.cplife.alipay.request.entity;


import java.util.Set;

import com.alibaba.fastjson.JSON;

/**
 * 变更物业小区信息请求参数
 * url:https://docs.open.alipay.com/api_20/alipay.eco.cplife.community.modify/
 */

public class CommunityModify {

    //支付宝社区小区统一编号
    private String community_id;
    //小区名称，最长不超过32个字符。
    private String community_name;
    //小区主要详细地址，不需要包含省市区名称。
    private String community_address;
    //区县编码，国标码，详见国家统计局数据
    private String district_code;
    //地级市编码，国标码，详见国家统计局数据
    private String city_code;
    //省份编码，国标码，详见国家统计局数据
    private String province_code;
    //小区所在的经纬度列表（注：需要是高德坐标系），每对经纬度用"|"分隔，经度在前，纬度在后，经纬度小数点后不超过6位。
    private Set<String> community_locations = null;
    //高德地图中住宅、住宿或地名地址等小区相关类型的POI（地图兴趣点）
    private Set<String> associated_pois = null;
    //需要提供物业服务热线或联系电话，便于用户在需要时联系物业。
    private String hotline;
    //小区在物业系统中的唯一编号
    private String out_community_id;

    public String toJson() {
        return JSON.toJSONString(this);
    }

    public CommunityModify() {
        super();
    }

    public CommunityModify(String community_id, String community_name, String community_address,
                           String district_code, String city_code, String province_code, Set<String> community_locations,
                           Set<String> associated_pois, String hotline, String out_community_id) {
        super();
        this.community_id = community_id;
        this.community_name = community_name;
        this.community_address = community_address;
        this.district_code = district_code;
        this.city_code = city_code;
        this.province_code = province_code;
        this.community_locations = community_locations;
        this.associated_pois = associated_pois;
        this.hotline = hotline;
        this.out_community_id = out_community_id;
    }

    public String getCommunity_id() {
        return community_id;
    }

    public void setCommunity_id(String community_id) {
        this.community_id = community_id;
    }

    public String getCommunity_name() {
        return community_name;
    }

    public void setCommunity_name(String community_name) {
        this.community_name = community_name;
    }

    public String getCommunity_address() {
        return community_address;
    }

    public void setCommunity_address(String community_address) {
        this.community_address = community_address;
    }

    public String getDistrict_code() {
        return district_code;
    }

    public void setDistrict_code(String district_code) {
        this.district_code = district_code;
    }

    public String getCity_code() {
        return city_code;
    }

    public void setCity_code(String city_code) {
        this.city_code = city_code;
    }

    public String getProvince_code() {
        return province_code;
    }

    public void setProvince_code(String province_code) {
        this.province_code = province_code;
    }

    public Set<String> getCommunity_locations() {
        return community_locations;
    }

    public void setCommunity_locations(Set<String> community_locations) {
        this.community_locations = community_locations;
    }

    public Set<String> getAssociated_pois() {
        return associated_pois;
    }

    public void setAssociated_pois(Set<String> associated_pois) {
        this.associated_pois = associated_pois;
    }

    public String getHotline() {
        return hotline;
    }

    public void setHotline(String hotline) {
        this.hotline = hotline;
    }

    public String getOut_community_id() {
        return out_community_id;
    }

    public void setOut_community_id(String out_community_id) {
        this.out_community_id = out_community_id;
    }


}
